Merged [21089]:
[adiumx.git] / Frameworks / Adium Framework / Source / AIEmoticonPack.h
blob93e71651b62c6ce5782c49fecbabe51f4dfb0c75
1 /*
2 * Adium is the legal property of its developers, whose names are listed in the copyright file included
3 * with this source distribution.
4 *
5 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
6 * General Public License as published by the Free Software Foundation; either version 2 of the License,
7 * or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
10 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
11 * Public License for more details.
13 * You should have received a copy of the GNU General Public License along with this program; if not,
14 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 @interface AIEmoticonPack : NSObject<NSCopying> {
18 NSBundle *bundle;
19 NSString *path;
20 NSString *name;
21 NSString *serviceClass;
22 NSString *emoticonLocation;
23 NSMutableArray *emoticonArray;
24 NSMutableArray *enabledEmoticonArray;
25 BOOL enabled;
28 + (id)emoticonPackFromPath:(NSString *)inPath;
29 - (void)setDisabledEmoticons:(NSArray *)inArray;
30 - (NSArray *)emoticons;
31 - (NSArray *)enabledEmoticons;
32 - (NSImage *)menuPreviewImage;
33 - (NSString *)name;
34 - (NSString *)path;
35 - (NSString *)serviceClass;
36 - (void)flushEmoticonImageCache;
37 - (void)setIsEnabled:(BOOL)inEnabled;
38 - (BOOL)isEnabled;
39 @end